package models

import "gorm.io/gorm"

type Book struct {
	gorm.Model
	Title string `gorm:"type:varchar(30)" json:"title"` //标题
	Stock string `gorm:"type:varchar(30)" json:"stock"` //内容
	Types string `gorm:"type:varchar(30)" json:"types"` //类型
	Img   string `gorm:"type:varchar(100)" json:"img"`  //封面
}
